projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca59410
)
Fix completely broken xenstore_read function.
author
emellor@ewan
<emellor@ewan>
Mon, 10 Oct 2005 17:58:46 +0000
(18:58 +0100)
committer
emellor@ewan
<emellor@ewan>
Mon, 10 Oct 2005 17:58:46 +0000
(18:58 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/xen-hotplug-common.sh
patch
|
blob
|
history
diff --git
a/tools/examples/xen-hotplug-common.sh
b/tools/examples/xen-hotplug-common.sh
index b1e1be6275d2e1d63b45643142e34f84e8a6a131..aa0f7fabc84fed3b3a22a3665fcfd81b79d37c0f 100644
(file)
--- a/
tools/examples/xen-hotplug-common.sh
+++ b/
tools/examples/xen-hotplug-common.sh
@@
-9,10
+9,10
@@
log() {
}
xenstore_read() {
- local v=$(xenstore-read "$
XENBUS_PATH"/type
|| true)
+ local v=$(xenstore-read "$
@"
|| true)
if [ "$v" == "" ]
then
- log error "xenstore-read $
XENBUS_PATH/type
failed."
+ log error "xenstore-read $
@
failed."
exit 1
fi
echo "$v"